// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//
#pragma once

#define DXUT_ERR(str, hr) (hr)
#define SAFE_DELETE(p) if(p) delete p; p=NULL
#define SAFE_DELETE_ARRAY(p) if(p) delete[] p; p=NULL
#define SAFE_RELEASE(p) if(p) p->Release(); p=NULL
#define SAFE_SHUTDOWN(p) if(p) p->Shutdown(); p=NULL


#define MAX_SAMPLES_PER_FRAME 1000

#include <dsound.h>
#include <Windows.h>
#include <MMReg.h>
#include <assert.h>
